from __future__ import absolute_import
import sys
import torch


# -------------------------------- VERSION --------------------------------- #
# PEP0440 compatible formatted version, see:
# https://www.python.org/dev/peps/pep-0440/
#
# Generic release markers:
#   X.Y
#   X.Y.Z   # For bugfix releases
#
# Admissible pre-release markers:
#   X.YaN   # Alpha release
#   X.YbN   # Beta release
#   X.YrcN  # Release Candidate
#   X.Y     # Final release
#
# Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer.
# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
#
__version__ = '0.2.1'


# ---------------------------- GLOBAL VARIABLES ---------------------------- #
PYTHON_VERSION = sys.version_info[0]
HAS_GPU = torch.cuda.is_available()


__all__ = [  'PYTHON_VERSION', 'HAS_GPU', ]

